<template>
    <mt-swipe :auto="2000">
        <mt-swipe-item v-for="item in swipeList">
            <a :href="item.url">
                <img :src="item.img" alt="">
            </a>
        </mt-swipe-item>   
      </mt-swipe>
</template>

<script>
    
    export default{
        props:['swipeList'],
        created(){
            // console.log(this.swipeList)
        }
    }
</script>

<style scoped>
    .mint-swipe{
    width: 100%;
    height:250px;
    display: inline-block;
   
}
  .mint-swipe img{
    height:100%;
    width: 100%;
  }
</style>